package com.hrrt.home.dao.mapper;

import com.hrrt.home.dao.model.HomeBaseDevice;
import com.hrrt.home.dao.model.HomeBaseDeviceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface HomeBaseDeviceMapper {
    long countByExample(HomeBaseDeviceExample example);

    int deleteByExample(HomeBaseDeviceExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(HomeBaseDevice record);

    int insertSelective(HomeBaseDevice record);

    List<HomeBaseDevice> selectByExample(HomeBaseDeviceExample example);

    HomeBaseDevice selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") HomeBaseDevice record, @Param("example") HomeBaseDeviceExample example);

    int updateByExample(@Param("record") HomeBaseDevice record, @Param("example") HomeBaseDeviceExample example);

    int updateByPrimaryKeySelective(HomeBaseDevice record);

    int updateByPrimaryKey(HomeBaseDevice record);

    List<HomeBaseDevice> selectBaseDeviceByExample(HomeBaseDeviceExample homeBaseDeviceExample);
}